Aventura\Wprss\Core\Model\AssetsAbstract A

Total Complexity 68
Dependencies 1
Dependents 0
Total lines 599
Lines of code 256
Logical lines of code 129
Comment lines 253
Methods 29
Properties 2

Methods 29

Method Rating Maintainability Complexity Lines of code
register()
A
48 10 35
_enqueueAsset()
S
50 5 32
_register()
S
57 5 17
enqueueStyle()
S
57 5 16
enqueueScript()
S
57 5 16
_registerAsset()
S
53 3 26
_addAsset()
S
63 4 10
_getCssUri()
S
62 3 12
getHandlePrefix()
S
70 3 6
getCssUri()
S
70 2 6
getJsUri()
S
70 2 6
_getHandlePrefix()
S
74 2 4
getAsset()
S
78 2 3
_getUniqueHandle()
S
70 2 6
isUriAbsolute()
S
80 1 3
enqueuePublicScripts()
S
82 1 3
enqueueAdminStyles()
S
82 1 3
enqueuePublicStyles()
S
82 1 3
hook()
S
78 1 4
hasAssetType()
S
75 1 4
getAssetTypes()
S
81 1 3
registerScript()
S
78 1 3
_hook()
S
68 1 7
registerStyle()
S
77 1 3
hasAsset()
S
79 1 3
getAssets()
S
82 1 3
_registerScript()
S
66 1 8
_registerStyle()
S
66 1 8
enqueueAdminScripts()
S
82 1 3